<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SyslibJS - XSplitterPanel and XSplitterItem test</title>
<script src="../src/syslib/syslib.js"></script>
</head>
<body style="padding: 2px; margin: 0px;" bgcolor="#d3dcc0">
<script>
  syslib.init({
    path : "../src/syslib/", 
    enableUI : true, 
    lookAndFeel : "green", 
    debug : true
  });
</script>

<script type="application/syslib+xml">
<columnlayout>
	<columnlayout-column width="20%" id="leftColumn">
		<accordeonmenu style="border: 0;" id="menu">
			<accordeonitem label="Menu 1">
				This is menu 1
			</accordeonitem>
			<accordeonitem label="Menu 2">
				This is menu 2
			</accordeonitem>
		</accordeonmenu>
	</columnlayout-column>
	<columnlayout-column width="20%" id="centerColumn">
		20%
	</columnlayout-column>
	<columnlayout-column width="40%" id="center2Column">
		40%
	</columnlayout-column>
	<columnlayout-column width="20%" id="rightColumn">
		20% Column
	</columnlayout-column>
</columnlayout>
</script>
<script>
	syslib.event.listen("load", window, function(){
		setTimeout(function(){
			syslib.ui.size.setFullHeight("leftColumn", {
				padding: 5
			});
			syslib.ui.size.setFullHeight("centerColumn", {
				padding: 5
			});
			syslib.ui.size.setFullHeight("center2Column", {
				padding: 5
			});
			syslib.ui.size.setFullHeight("rightColumn", {
				padding: 5
			});
		}, 2000);
	});
</script>

</body>
</html>